package com.yunhe.java.day08.ChouXiangLei;

/**
 * Created by Administrator on 2017/7/31 0031.
 */
public class InstrumentTest {
    public static void main(String[] args) {
       Instrument p= new Piano();
           p.setName("钢琴");
           p.play();
       Instrument p2 =new Volin();
           p2.setName("小提琴");
           p2.play();
    }
}
